Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Check whether two strings are anagram of each other in C with character count method?

# include <stdio.h> # define NO_OF_CHARS 256 bool areAnagram(char *str1, char *str2) //function checks whether two strings are anagrams. { // Create 2 count arrays and initialize all values as 0 int count1[NO_OF_CHARS] = {...

Check whether two strings are anagram of each other in C?

// C program to check whether two strings are anagrams #include <stdio.h> #include <string.h> void quickSort(char *arr, int si, int ei); //Function declared for sorting a string bool areAnagram(char *str1, char *str2) /...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: